package com.meihua.baoleyi.bean;

import com.google.gson.annotations.SerializedName;
import com.meihua.baoleyi.base.BaseResponse;

/**
 * Created by ${zhangyuanchao} on 2017/11/3.
 */

public class OrderPayBean extends BaseResponse {

    /**
     * code : 1
     * data : {"appid":"wx3f8c40cae1e9caf3","mch_id":"1491189042","nonce_str":"vuHsSFREvO4ppCuZ","prepay_id":"wx20171103095410f2208a86630475759132","result_code":"SUCCESS","return_code":"SUCCESS","return_msg":"OK","sign":"EF8743E1DC62FAFF51EC5C98BA86A9AA","trade_type":"APP","timestamp":1509674051}
     */

    @SerializedName("code")
    private int codeX;
    private DataBean data;

    public int getCodeX() {
        return codeX;
    }

    public void setCodeX(int codeX) {
        this.codeX = codeX;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * appid : wx3f8c40cae1e9caf3
         * mch_id : 1491189042
         * nonce_str : vuHsSFREvO4ppCuZ
         * prepay_id : wx20171103095410f2208a86630475759132
         * result_code : SUCCESS
         * return_code : SUCCESS
         * return_msg : OK
         * sign : EF8743E1DC62FAFF51EC5C98BA86A9AA
         * trade_type : APP
         * timestamp : 1509674051
         */

        private String appid;
        private String mch_id;
        private String nonce_str;
        private String prepay_id;
        private String result_code;
        private String return_code;
        private String return_msg;
        private String sign;
        private String trade_type;
        private int timestamp;

        public String getAppid() {
            return appid;
        }

        public void setAppid(String appid) {
            this.appid = appid;
        }

        public String getMch_id() {
            return mch_id;
        }

        public void setMch_id(String mch_id) {
            this.mch_id = mch_id;
        }

        public String getNonce_str() {
            return nonce_str;
        }

        public void setNonce_str(String nonce_str) {
            this.nonce_str = nonce_str;
        }

        public String getPrepay_id() {
            return prepay_id;
        }

        public void setPrepay_id(String prepay_id) {
            this.prepay_id = prepay_id;
        }

        public String getResult_code() {
            return result_code;
        }

        public void setResult_code(String result_code) {
            this.result_code = result_code;
        }

        public String getReturn_code() {
            return return_code;
        }

        public void setReturn_code(String return_code) {
            this.return_code = return_code;
        }

        public String getReturn_msg() {
            return return_msg;
        }

        public void setReturn_msg(String return_msg) {
            this.return_msg = return_msg;
        }

        public String getSign() {
            return sign;
        }

        public void setSign(String sign) {
            this.sign = sign;
        }

        public String getTrade_type() {
            return trade_type;
        }

        public void setTrade_type(String trade_type) {
            this.trade_type = trade_type;
        }

        public int getTimestamp() {
            return timestamp;
        }

        public void setTimestamp(int timestamp) {
            this.timestamp = timestamp;
        }
    }
}
